export const mock = {
  id: "1840677762006462466",
  createTime: "2024-09-30 16:59:11",
  lastUpdateTime: "2024-10-08 10:09:01",
  createdUserId: "1",
  lastUpdatedUserId: "1",
  createdUserName: "管理员",
  lastUpdatedUserName: "管理员",
  qualityProblemCode: "ISSUE202409300007",
  qualityExceptionId: "1840662237532598273",
  qualityExceptionCode: "EXEC202409300002",
  informationSourceId: "1830495614012096513",
  lineProcessName: "生产线/过程1",
  productProjectName: "测试1",
  sortCode: "测试1",
  productProcess: "1830495695008301058",
  productProcessContent: "产品状态描述1",
  failureMode: "1830495550019600386",
  failureModeContent: "失效模式2",
  occurrenceLocation: "公司",
  consequenceInfluence: "不清楚",
  problemFrequency: "一小时",
  proposeDepartmentId: "c4de3a18a21443b29ffbc5272ecbfceb",
  proposeDepartmentCode: null,
  proposeDepartmentName: "大连施奈莱克创新零部件公司",
  proposeManagerId: null,
  proposeManagerName: null,
  departmentId: "9052df0431f84eefa9bb7aa0998e3282",
  departmentCode: "部门编辑2",
  departmentName: "部门名称2",
  departmentManagerId: null,
  departmentManagerName: null,
  isInternal: 0,
  supplyId: "",
  supplyCode: "",
  supplyName: "",
  problemTime: null,
  problemUserId: null,
  problemUserName: null,
  problemTypeCode: 0,
  exceptionTypeSubId: null,
  exceptionTypeSubCode: null,
  exceptionTypeSubName: null,
  exceptionLevel: null,
  exceptionLevelId: null,
  exceptionLevelCode: null,
  problemApproachType: 0,
  problemApproachId: null,
  problemApproachCode: null,
  problemApproachName: null,
  releaseState: 6,
  auditUserId: null,
  auditUserName: null,
  provisionalMeasuresDeadline: null,
  rectificationDeadline: null,
  rectificationRequirement:
    "人力资源部(企管办)负责批准体系审核和管理性的纠正和预防措施;质量保证部负责批街产品质量直接相关的纠正和预防措施，安监部负责批准EHS 相关的纠正和预防措施",
  agreeWith: null,
  approvalOpinion: null,
  approvalTime: null,
  targetTime: "2024-10-03 00:00:00",
  qualityQuantity: 200,
  materialProcessCode: "测试1",
  materialProcessFigure: null,
  materialProcessName: "测试1",
  materialProcessId: "1840238872981831681",
  occurrenceTime: "2024-10-08 16:24:05",
  workOrderTime: null,
  closeTime: null,
  version: 4,
  remarks: "",
  enabled: null,
  deleted: 0,
  ids: null,
  describe: "水阀出现漏水问题",
  reason: null,
  temporary: null,
  temporaryTime: null,
  correct: null,
  correctTime: null,
  prevent: null,
  standard: null,
  leader: null,
  member: null,
  assetPhotos: [],
  workOrderList: [
    {
      id: "1829071476450062337",
      createTime: "2024-09-25 15:37:23",
      lastUpdateTime: "2024-09-30 08:32:29",
      createdUserId: "1",
      lastUpdatedUserId: "1",
      createdUserName: null,
      lastUpdatedUserName: "管理员",
      qualityProblemId: "1840677762006462466",
      qualityProblemCode: "ISSUE202409300007",
      exceptionBusinessType: 21,
      workState: 1,
      completeTime: "2024-09-25 15:37:14",
      superintendentId: "123",
      superintendentName: "123",
      sequenceCode: 123,
      version: 1,
      remarks: null,
      enabled: 1,
      deleted: 0,
      ids: null,
      qualityExceptionCode: null,
      informationSourceId: null,
      lineProcessName: null,
      productProjectName: null,
      sortCode: null,
      productProcess: null,
      productProcessContent: null,
      failureMode: null,
      failureModeContent: null,
      occurrenceLocation: null,
      consequenceInfluence: null,
      problemFrequency: null,
      proposeDepartmentId: null,
      proposeDepartmentCode: null,
      proposeDepartmentName: null,
      proposeManagerId: null,
      proposeManagerName: null,
      departmentId: null,
      departmentCode: null,
      departmentName: null,
      departmentManagerId: null,
      departmentManagerName: null,
      isInternal: null,
      supplyId: null,
      supplyCode: null,
      supplyName: null,
      problemTime: null,
      problemUserId: null,
      problemUserName: null,
      problemTypeCode: null,
      exceptionTypeSubId: null,
      exceptionTypeSubCode: null,
      exceptionTypeSubName: null,
      exceptionLevel: null,
      exceptionLevelId: null,
      exceptionLevelCode: null,
      problemApproachType: null,
      problemApproachId: null,
      problemApproachCode: null,
      problemApproachName: null,
      releaseState: null,
      auditUserId: null,
      auditUserName: null,
      provisionalMeasuresDeadline: null,
      rectificationDeadline: null,
      rectificationRequirement: null,
      agreeWith: null,
      approvalOpinion: null,
      approvalTime: null,
      targetTime: null,
      qualityQuantity: null,
      materialProcessCode: null,
      materialProcessFigure: null,
      materialProcessName: null,
      materialProcessId: null,
      occurrenceTime: null,
      workOrderTime: null,
      closeTime: null,
      listWork: [
        {
          id: "1840231865688166401",
          createTime: "2024-08-29 16:20:25",
          lastUpdateTime: "2024-09-30 15:04:06",
          createdUserId: "1",
          lastUpdatedUserId: "1",
          createdUserName: "管理员",
          lastUpdatedUserName: "管理员",
          qualityExceptionId: "1829071476450062337",
          qualityExceptionCode: null,
          exceptionContent:
            "ECharts: A Declarative Framework for Rapid Construction of Web-based Visualization",
          planDate: "2024-09-29 00:00:00",
          version: 6,
          remarks: "",
          enabled: 1,
          deleted: 0,
          ids: null,
          assetPhotos: [],
          isSubmit: null,
          workOrderId: null,
        },
      ],
    },
    {
      id: "1829091555645579265",
      createTime: null,
      lastUpdateTime: "2024-09-29 09:18:01",
      createdUserId: null,
      lastUpdatedUserId: "1",
      createdUserName: null,
      lastUpdatedUserName: "管理员",
      qualityProblemId: "1840677762006462466",
      qualityProblemCode: "ISSUE202409300007",
      exceptionBusinessType: 22,
      workState: 1,
      completeTime: null,
      superintendentId: null,
      superintendentName: null,
      sequenceCode: null,
      version: null,
      remarks: null,
      enabled: 1,
      deleted: 0,
      ids: null,
      qualityExceptionCode: null,
      informationSourceId: null,
      lineProcessName: null,
      productProjectName: null,
      sortCode: null,
      productProcess: null,
      productProcessContent: null,
      failureMode: null,
      failureModeContent: null,
      occurrenceLocation: null,
      consequenceInfluence: null,
      problemFrequency: null,
      proposeDepartmentId: null,
      proposeDepartmentCode: null,
      proposeDepartmentName: null,
      proposeManagerId: null,
      proposeManagerName: null,
      departmentId: null,
      departmentCode: null,
      departmentName: null,
      departmentManagerId: null,
      departmentManagerName: null,
      isInternal: null,
      supplyId: null,
      supplyCode: null,
      supplyName: null,
      problemTime: null,
      problemUserId: null,
      problemUserName: null,
      problemTypeCode: null,
      exceptionTypeSubId: null,
      exceptionTypeSubCode: null,
      exceptionTypeSubName: null,
      exceptionLevel: null,
      exceptionLevelId: null,
      exceptionLevelCode: null,
      problemApproachType: null,
      problemApproachId: null,
      problemApproachCode: null,
      problemApproachName: null,
      releaseState: null,
      auditUserId: null,
      auditUserName: null,
      provisionalMeasuresDeadline: null,
      rectificationDeadline: null,
      rectificationRequirement: null,
      agreeWith: null,
      approvalOpinion: null,
      approvalTime: null,
      targetTime: null,
      qualityQuantity: null,
      materialProcessCode: null,
      materialProcessFigure: null,
      materialProcessName: null,
      materialProcessId: null,
      occurrenceTime: null,
      workOrderTime: null,
      closeTime: null,
      listWork: [
        {
          id: "1840236011929661441",
          createTime: "2024-08-30 08:27:30",
          lastUpdateTime: "2024-09-29 11:43:50",
          createdUserId: "1",
          lastUpdatedUserId: "1",
          createdUserName: "管理员",
          lastUpdatedUserName: "管理员",
          qualityExceptionId: "1829091555645579265",
          qualityExceptionCode: null,
          exceptionContent:
            "Apache Software Foundation Apache ECharts, ECharts, Apache, the Apache feather, and the Apache ECharts project logo are either registered trademarks or trademarks of the Apache Software Foundation",
          version: 2,
          remarks: "",
          enabled: 1,
          deleted: 0,
          ids: null,
          assetPhotos: [],
          isSubmit: null,
          workOrderId: null,
        },
      ],
    },
    {
      id: "1829091555645579266",
      createTime: null,
      lastUpdateTime: "2024-09-29 09:18:01",
      createdUserId: null,
      lastUpdatedUserId: "1",
      createdUserName: null,
      lastUpdatedUserName: "管理员",
      qualityProblemId: "1840677762006462466",
      qualityProblemCode: "ISSUE202409300007",
      exceptionBusinessType: 5,
      workState: 1,
      completeTime: null,
      superintendentId: null,
      superintendentName: null,
      sequenceCode: null,
      version: null,
      remarks: null,
      enabled: 1,
      deleted: 0,
      ids: null,
      qualityExceptionCode: null,
      informationSourceId: null,
      lineProcessName: null,
      productProjectName: null,
      sortCode: null,
      productProcess: null,
      productProcessContent: null,
      failureMode: null,
      failureModeContent: null,
      occurrenceLocation: null,
      consequenceInfluence: null,
      problemFrequency: null,
      proposeDepartmentId: null,
      proposeDepartmentCode: null,
      proposeDepartmentName: null,
      proposeManagerId: null,
      proposeManagerName: null,
      departmentId: null,
      departmentCode: null,
      departmentName: null,
      departmentManagerId: null,
      departmentManagerName: null,
      isInternal: null,
      supplyId: null,
      supplyCode: null,
      supplyName: null,
      problemTime: null,
      problemUserId: null,
      problemUserName: null,
      problemTypeCode: null,
      exceptionTypeSubId: null,
      exceptionTypeSubCode: null,
      exceptionTypeSubName: null,
      exceptionLevel: null,
      exceptionLevelId: null,
      exceptionLevelCode: null,
      problemApproachType: null,
      problemApproachId: null,
      problemApproachCode: null,
      problemApproachName: null,
      releaseState: null,
      auditUserId: null,
      auditUserName: null,
      provisionalMeasuresDeadline: null,
      rectificationDeadline: null,
      rectificationRequirement: null,
      agreeWith: null,
      approvalOpinion: null,
      approvalTime: null,
      targetTime: null,
      qualityQuantity: null,
      materialProcessCode: null,
      materialProcessFigure: null,
      materialProcessName: null,
      materialProcessId: null,
      occurrenceTime: null,
      workOrderTime: null,
      closeTime: null,
      listWork: [
        {
          id: "1840236011929661441",
          createTime: "2024-08-30 08:27:30",
          lastUpdateTime: "2024-09-29 11:43:50",
          createdUserId: "1",
          lastUpdatedUserId: "1",
          createdUserName: "管理员",
          lastUpdatedUserName: "管理员",
          qualityExceptionId: "1829091555645579265",
          qualityExceptionCode: null,
          exceptionContent:
            "如果在图片没有加载出来的时候，就会显示alt对应的文本。目前网络环境出现这种情况都很少了，但是以前网络环境慢的时候，会经常出现图片的位置显示个文字。",
          version: 2,
          remarks: "",
          enabled: 1,
          deleted: 0,
          ids: null,
          assetPhotos: [],
          isSubmit: null,
          workOrderId: null,
        },
      ],
    },
    {
      id: "1829091555645579266",
      createTime: null,
      lastUpdateTime: "2024-09-29 09:18:01",
      createdUserId: null,
      lastUpdatedUserId: "1",
      createdUserName: null,
      lastUpdatedUserName: "管理员",
      qualityProblemId: "1840677762006462466",
      qualityProblemCode: "ISSUE202409300007",
      exceptionBusinessType: 10,
      workState: 1,
      completeTime: null,
      superintendentId: null,
      superintendentName: null,
      sequenceCode: null,
      version: null,
      remarks: null,
      enabled: 1,
      deleted: 0,
      ids: null,
      qualityExceptionCode: null,
      informationSourceId: null,
      lineProcessName: null,
      productProjectName: null,
      sortCode: null,
      productProcess: null,
      productProcessContent: null,
      failureMode: null,
      failureModeContent: null,
      occurrenceLocation: null,
      consequenceInfluence: null,
      problemFrequency: null,
      proposeDepartmentId: null,
      proposeDepartmentCode: null,
      proposeDepartmentName: null,
      proposeManagerId: null,
      proposeManagerName: null,
      departmentId: null,
      departmentCode: null,
      departmentName: null,
      departmentManagerId: null,
      departmentManagerName: null,
      isInternal: null,
      supplyId: null,
      supplyCode: null,
      supplyName: null,
      problemTime: null,
      problemUserId: null,
      problemUserName: null,
      problemTypeCode: null,
      exceptionTypeSubId: null,
      exceptionTypeSubCode: null,
      exceptionTypeSubName: null,
      exceptionLevel: null,
      exceptionLevelId: null,
      exceptionLevelCode: null,
      problemApproachType: null,
      problemApproachId: null,
      problemApproachCode: null,
      problemApproachName: null,
      releaseState: null,
      auditUserId: null,
      auditUserName: null,
      provisionalMeasuresDeadline: null,
      rectificationDeadline: null,
      rectificationRequirement: null,
      agreeWith: null,
      approvalOpinion: null,
      approvalTime: null,
      targetTime: null,
      qualityQuantity: null,
      materialProcessCode: null,
      materialProcessFigure: null,
      materialProcessName: null,
      materialProcessId: null,
      occurrenceTime: null,
      workOrderTime: null,
      closeTime: null,
      listWork: [
        {
          id: "1840236011929661441",
          createTime: "2024-08-30 08:27:30",
          lastUpdateTime: "2024-09-29 11:43:50",
          createdUserId: "1",
          lastUpdatedUserId: "1",
          createdUserName: "管理员",
          lastUpdatedUserName: "管理员",
          qualityExceptionId: "1829091555645579265",
          qualityExceptionCode: null,
          exceptionContent:
            "ExceptionBusinessType state : ExceptionBExceptionBusinessType state : ExceptionBExceptionBusinessType state : ExceptionBExceptionBusinessType state : ExceptionBExceptionBusinessType state : ExceptionB",
          version: 2,
          remarks: "",
          enabled: 1,
          deleted: 0,
          ids: null,
          assetPhotos: [],
          isSubmit: null,
          workOrderId: null,
          detail: [
            {
              exceptionContent: "自来水管漏水导致机器漏水",
            },
            {
              exceptionContent: "温度过高导致漏水",
            },
            {
              exceptionContent:
                "分析为什么过程会发生这个缺陷分析为什么过程会发生这个缺陷",
            },
          ],
        },
      ],
    },
    {
      id: "1829091555645579266",
      createTime: null,
      lastUpdateTime: "2024-09-29 09:18:01",
      createdUserId: null,
      lastUpdatedUserId: "1",
      createdUserName: null,
      lastUpdatedUserName: "管理员",
      qualityProblemId: "1840677762006462466",
      qualityProblemCode: "ISSUE202409300007",
      exceptionBusinessType: 12,
      workState: 1,
      completeTime: null,
      superintendentId: null,
      superintendentName: null,
      sequenceCode: null,
      version: null,
      remarks: null,
      enabled: 1,
      deleted: 0,
      ids: null,
      qualityExceptionCode: null,
      informationSourceId: null,
      lineProcessName: null,
      productProjectName: null,
      sortCode: null,
      productProcess: null,
      productProcessContent: null,
      failureMode: null,
      failureModeContent: null,
      occurrenceLocation: null,
      consequenceInfluence: null,
      problemFrequency: null,
      proposeDepartmentId: null,
      proposeDepartmentCode: null,
      proposeDepartmentName: null,
      proposeManagerId: null,
      proposeManagerName: null,
      departmentId: null,
      departmentCode: null,
      departmentName: null,
      departmentManagerId: null,
      departmentManagerName: null,
      isInternal: null,
      supplyId: null,
      supplyCode: null,
      supplyName: null,
      problemTime: null,
      problemUserId: null,
      problemUserName: null,
      problemTypeCode: null,
      exceptionTypeSubId: null,
      exceptionTypeSubCode: null,
      exceptionTypeSubName: null,
      exceptionLevel: null,
      exceptionLevelId: null,
      exceptionLevelCode: null,
      problemApproachType: null,
      problemApproachId: null,
      problemApproachCode: null,
      problemApproachName: null,
      releaseState: null,
      auditUserId: null,
      auditUserName: null,
      provisionalMeasuresDeadline: null,
      rectificationDeadline: null,
      rectificationRequirement: null,
      agreeWith: null,
      approvalOpinion: null,
      approvalTime: null,
      targetTime: null,
      qualityQuantity: null,
      materialProcessCode: null,
      materialProcessFigure: null,
      materialProcessName: null,
      materialProcessId: null,
      occurrenceTime: null,
      workOrderTime: null,
      closeTime: null,
      listWork: [
        {
          id: "1840236011929661441",
          createTime: "2024-08-30 08:27:30",
          lastUpdateTime: "2024-09-29 11:43:50",
          createdUserId: "1",
          lastUpdatedUserId: "1",
          createdUserName: "管理员",
          lastUpdatedUserName: "管理员",
          qualityExceptionId: "1829091555645579265",
          qualityExceptionCode: null,
          exceptionContent:
            "href 这是“链接”link，跳转到的页面可以是在当前网站之外的。",
          version: 2,
          remarks: "",
          enabled: 1,
          deleted: 0,
          ids: null,
          assetPhotos: [],
          isSubmit: null,
          workOrderId: null,
          superintendent: "慕金宏",
          planDate: "2024-08-30 08:27:30",
        },
      ],
    },
    {
      id: "1829091555645579266",
      createTime: null,
      lastUpdateTime: "2024-09-29 09:18:01",
      createdUserId: null,
      lastUpdatedUserId: "1",
      createdUserName: null,
      lastUpdatedUserName: "管理员",
      qualityProblemId: "1840677762006462466",
      qualityProblemCode: "ISSUE202409300007",
      exceptionBusinessType: 14,
      workState: 1,
      completeTime: null,
      superintendentId: null,
      superintendentName: null,
      sequenceCode: null,
      version: null,
      remarks: null,
      enabled: 1,
      deleted: 0,
      ids: null,
      qualityExceptionCode: null,
      informationSourceId: null,
      lineProcessName: null,
      productProjectName: null,
      sortCode: null,
      productProcess: null,
      productProcessContent: null,
      failureMode: null,
      failureModeContent: null,
      occurrenceLocation: null,
      consequenceInfluence: null,
      problemFrequency: null,
      proposeDepartmentId: null,
      proposeDepartmentCode: null,
      proposeDepartmentName: null,
      proposeManagerId: null,
      proposeManagerName: null,
      departmentId: null,
      departmentCode: null,
      departmentName: null,
      departmentManagerId: null,
      departmentManagerName: null,
      isInternal: null,
      supplyId: null,
      supplyCode: null,
      supplyName: null,
      problemTime: null,
      problemUserId: null,
      problemUserName: null,
      problemTypeCode: null,
      exceptionTypeSubId: null,
      exceptionTypeSubCode: null,
      exceptionTypeSubName: null,
      exceptionLevel: null,
      exceptionLevelId: null,
      exceptionLevelCode: null,
      problemApproachType: null,
      problemApproachId: null,
      problemApproachCode: null,
      problemApproachName: null,
      releaseState: null,
      auditUserId: null,
      auditUserName: null,
      provisionalMeasuresDeadline: null,
      rectificationDeadline: null,
      rectificationRequirement: null,
      agreeWith: null,
      approvalOpinion: null,
      approvalTime: null,
      targetTime: null,
      qualityQuantity: null,
      materialProcessCode: null,
      materialProcessFigure: null,
      materialProcessName: null,
      materialProcessId: null,
      occurrenceTime: null,
      workOrderTime: null,
      closeTime: null,
      listWork: [
        {
          id: "1840236011929661441",
          createTime: "2024-08-30 08:27:30",
          lastUpdateTime: "2024-09-29 11:43:50",
          createdUserId: "1",
          lastUpdatedUserId: "1",
          createdUserName: "管理员",
          lastUpdatedUserName: "管理员",
          qualityExceptionId: "1829091555645579265",
          qualityExceptionCode: null,
          exceptionContent1:
            "href 这是“链接”link，跳转到的页面可以是在当前网站之外的。",
          exceptionContent:
            "正常就是必须质检 外协来的必须质检;正常就是必须质检 外协来的必须质检;",
          version: 2,
          remarks: "",
          enabled: 1,
          deleted: 0,
          ids: null,
          assetPhotos: [],
          isSubmit: null,
          workOrderId: null,
          superintendent: "慕金宏",
          planDate: "2024-08-30 08:27:30",
        },
      ],
    },
    {
      id: "1829091555645579266",
      createTime: null,
      lastUpdateTime: "2024-09-29 09:18:01",
      createdUserId: null,
      lastUpdatedUserId: "1",
      createdUserName: null,
      lastUpdatedUserName: "管理员",
      qualityProblemId: "1840677762006462466",
      qualityProblemCode: "ISSUE202409300007",
      exceptionBusinessType: 2,
      workState: 1,
      completeTime: null,
      superintendentId: null,
      superintendentName: null,
      sequenceCode: null,
      version: null,
      remarks: null,
      enabled: 1,
      deleted: 0,
      ids: null,
      qualityExceptionCode: null,
      informationSourceId: null,
      lineProcessName: null,
      productProjectName: null,
      sortCode: null,
      productProcess: null,
      productProcessContent: null,
      failureMode: null,
      failureModeContent: null,
      occurrenceLocation: null,
      consequenceInfluence: null,
      problemFrequency: null,
      proposeDepartmentId: null,
      proposeDepartmentCode: null,
      proposeDepartmentName: null,
      proposeManagerId: null,
      proposeManagerName: null,
      departmentId: null,
      departmentCode: null,
      departmentName: null,
      departmentManagerId: null,
      departmentManagerName: null,
      isInternal: null,
      supplyId: null,
      supplyCode: null,
      supplyName: null,
      problemTime: null,
      problemUserId: null,
      problemUserName: null,
      problemTypeCode: null,
      exceptionTypeSubId: null,
      exceptionTypeSubCode: null,
      exceptionTypeSubName: null,
      exceptionLevel: null,
      exceptionLevelId: null,
      exceptionLevelCode: null,
      problemApproachType: null,
      problemApproachId: null,
      problemApproachCode: null,
      problemApproachName: null,
      releaseState: null,
      auditUserId: null,
      auditUserName: null,
      provisionalMeasuresDeadline: null,
      rectificationDeadline: null,
      rectificationRequirement: null,
      agreeWith: null,
      approvalOpinion: null,
      approvalTime: null,
      targetTime: null,
      qualityQuantity: null,
      materialProcessCode: null,
      materialProcessFigure: null,
      materialProcessName: null,
      materialProcessId: null,
      occurrenceTime: null,
      workOrderTime: null,
      closeTime: null,
      listWork: [
        {
          id: "1840236011929661441",
          createTime: "2024-08-30 08:27:30",
          lastUpdateTime: "2024-09-29 11:43:50",
          createdUserId: "1",
          lastUpdatedUserId: "1",
          createdUserName: "管理员",
          lastUpdatedUserName: "管理员",
          qualityExceptionId: "1829091555645579265",
          qualityExceptionCode: null,
          exceptionContent:
            "正常就是必须质检 外协来的必须质检;正常就是必须质检 外协来的必须质检;",
          version: 2,
          remarks: "",
          enabled: 1,
          deleted: 0,
          ids: null,
          assetPhotos: [],
          isSubmit: null,
          workOrderId: null,
          superintendent: "慕金宏",
          planDate: "2024-08-30 08:27:30",
          departmentName: "质检部门",
          teamUserName: "MuJinHong",
          isLeader: 1,
          roleName: "组长",
          telNumber: "17600002036",
        },
        {
          id: "1840236011929661441",
          createTime: "2024-08-30 08:27:30",
          lastUpdateTime: "2024-09-29 11:43:50",
          createdUserId: "1",
          lastUpdatedUserId: "1",
          createdUserName: "管理员",
          lastUpdatedUserName: "管理员",
          qualityExceptionId: "1829091555645579265",
          qualityExceptionCode: null,
          exceptionContent:
            "正常就是必须质检 外协来的必须质检;正常就是必须质检 外协来的必须质检;",
          version: 2,
          remarks: "",
          enabled: 1,
          deleted: 0,
          ids: null,
          assetPhotos: [],
          isSubmit: null,
          workOrderId: null,
          superintendent: "慕金宏",
          planDate: "2024-08-30 08:27:30",
          departmentName: "质检部门",
          teamUserName: "LiLiMu",
          isLeader: 0,
          roleName: "质检员",
          telNumber: "17600602036",
        },
        {
          id: "1840236011929661441",
          createTime: "2024-08-30 08:27:30",
          lastUpdateTime: "2024-09-29 11:43:50",
          createdUserId: "1",
          lastUpdatedUserId: "1",
          createdUserName: "管理员",
          lastUpdatedUserName: "管理员",
          qualityExceptionId: "1829091555645579265",
          qualityExceptionCode: null,
          exceptionContent:
            "正常就是必须质检 外协来的必须质检;正常就是必须质检 外协来的必须质检;",
          version: 2,
          remarks: "",
          enabled: 1,
          deleted: 0,
          ids: null,
          assetPhotos: [],
          isSubmit: null,
          workOrderId: null,
          superintendent: "慕金宏",
          planDate: "2024-08-30 08:27:30",
          departmentName: "架构部门",
          teamUserName: "LiYaBo",
          isLeader: 1,
          roleName: "RoleName",
          telNumber: "",
        },
      ],
    },
    {
      id: "1829091555645579266",
      createTime: null,
      lastUpdateTime: "2024-09-29 09:18:01",
      createdUserId: null,
      lastUpdatedUserId: "1",
      createdUserName: null,
      lastUpdatedUserName: "管理员",
      qualityProblemId: "1840677762006462466",
      qualityProblemCode: "ISSUE202409300007",
      exceptionBusinessType: 3,
      workState: 1,
      completeTime: null,
      superintendentId: null,
      superintendentName: null,
      sequenceCode: null,
      version: null,
      remarks: null,
      enabled: 1,
      deleted: 0,
      ids: null,
      qualityExceptionCode: null,
      informationSourceId: null,
      lineProcessName: null,
      productProjectName: null,
      sortCode: null,
      productProcess: null,
      productProcessContent: null,
      failureMode: null,
      failureModeContent: null,
      occurrenceLocation: null,
      consequenceInfluence: null,
      problemFrequency: null,
      proposeDepartmentId: null,
      proposeDepartmentCode: null,
      proposeDepartmentName: null,
      proposeManagerId: null,
      proposeManagerName: null,
      departmentId: null,
      departmentCode: null,
      departmentName: null,
      departmentManagerId: null,
      departmentManagerName: null,
      isInternal: null,
      supplyId: null,
      supplyCode: null,
      supplyName: null,
      problemTime: null,
      problemUserId: null,
      problemUserName: null,
      problemTypeCode: null,
      exceptionTypeSubId: null,
      exceptionTypeSubCode: null,
      exceptionTypeSubName: null,
      exceptionLevel: null,
      exceptionLevelId: null,
      exceptionLevelCode: null,
      problemApproachType: null,
      problemApproachId: null,
      problemApproachCode: null,
      problemApproachName: null,
      releaseState: null,
      auditUserId: null,
      auditUserName: null,
      provisionalMeasuresDeadline: null,
      rectificationDeadline: null,
      rectificationRequirement: null,
      agreeWith: null,
      approvalOpinion: null,
      approvalTime: null,
      targetTime: null,
      qualityQuantity: null,
      materialProcessCode: null,
      materialProcessFigure: null,
      materialProcessName: null,
      materialProcessId: null,
      occurrenceTime: null,
      workOrderTime: null,
      closeTime: null,
      listWork: [
        {
          id: "1840236011929661441",
          createTime: "2024-08-30 08:27:30",
          lastUpdateTime: "2024-09-29 11:43:50",
          createdUserId: "1",
          lastUpdatedUserId: "1",
          createdUserName: "管理员",
          lastUpdatedUserName: "管理员",
          qualityExceptionId: "1829091555645579265",
          qualityExceptionCode: null,
          exceptionContent:
            "正常就是必须质检 外协来的必须质检;正常就是必须质检 外协来的必须质检;",
          version: 2,
          remarks: "",
          enabled: 1,
          deleted: 0,
          ids: null,
          assetPhotos: [],
          isSubmit: null,
          workOrderId: null,
          superintendent: "慕金宏",
          planDate: "2024-08-30 08:27:30",
          departmentName: "质检部门",
          teamUserName: "MuJinHong",
          isLeader: 1,
          roleName: "组长",
          telNumber: "17600002036",
          exceptionWhat: "ExceptionWhat,ExceptionWhat,ExceptionWhat",
          exceptionWhy: "exceptionWhy,exceptionWhy,exceptionWhy",
          exceptionWhen: "2024年6月23日 18点30分",
          exceptionWhere: "巡检点A1口",
          exceptionWho: "王三",
          exceptionHow: "用红外线测量仪测量，指数异常",
          exceptionHowMuch: "7个，追溯指数异常原因",
        },
      ],
    },
    {
      id: "1829071476450062337",
      createTime: "2024-09-25 15:37:23",
      lastUpdateTime: "2024-09-30 08:32:29",
      createdUserId: "1",
      lastUpdatedUserId: "1",
      createdUserName: null,
      lastUpdatedUserName: "管理员",
      qualityProblemId: "1840677762006462466",
      qualityProblemCode: "ISSUE202409300007",
      exceptionBusinessType: 4,
      workState: 1,
      completeTime: "2024-09-25 15:37:14",
      superintendentId: "123",
      superintendentName: "123",
      sequenceCode: 123,
      version: 1,
      remarks: null,
      enabled: 1,
      deleted: 0,
      ids: null,
      qualityExceptionCode: null,
      informationSourceId: null,
      lineProcessName: null,
      productProjectName: null,
      sortCode: null,
      productProcess: null,
      productProcessContent: null,
      failureMode: null,
      failureModeContent: null,
      occurrenceLocation: null,
      consequenceInfluence: null,
      problemFrequency: null,
      proposeDepartmentId: null,
      proposeDepartmentCode: null,
      proposeDepartmentName: null,
      proposeManagerId: null,
      proposeManagerName: null,
      departmentId: null,
      departmentCode: null,
      departmentName: null,
      departmentManagerId: null,
      departmentManagerName: null,
      isInternal: null,
      supplyId: null,
      supplyCode: null,
      supplyName: null,
      problemTime: null,
      problemUserId: null,
      problemUserName: null,
      problemTypeCode: null,
      exceptionTypeSubId: null,
      exceptionTypeSubCode: null,
      exceptionTypeSubName: null,
      exceptionLevel: null,
      exceptionLevelId: null,
      exceptionLevelCode: null,
      problemApproachType: null,
      problemApproachId: null,
      problemApproachCode: null,
      problemApproachName: null,
      releaseState: null,
      auditUserId: null,
      auditUserName: null,
      provisionalMeasuresDeadline: null,
      rectificationDeadline: null,
      rectificationRequirement: null,
      agreeWith: null,
      approvalOpinion: null,
      approvalTime: null,
      targetTime: null,
      qualityQuantity: null,
      materialProcessCode: null,
      materialProcessFigure: null,
      materialProcessName: null,
      materialProcessId: null,
      occurrenceTime: null,
      workOrderTime: null,
      closeTime: null,
      listWork: [
        {
          id: "1840231865688166401",
          createTime: "2024-08-29 16:20:25",
          lastUpdateTime: "2024-09-30 15:04:06",
          createdUserId: "1",
          lastUpdatedUserId: "1",
          createdUserName: "管理员",
          lastUpdatedUserName: "管理员",
          qualityExceptionId: "1829071476450062337",
          qualityExceptionCode: null,
          exceptionContent: "2024-08-29 16:20:25",
          planDate: "2024-09-29 00:00:00",
          version: 6,
          remarks: "",
          enabled: 1,
          deleted: 0,
          ids: null,
          assetPhotos: [],
          isSubmit: null,
          workOrderId: null,
        },
      ],
    },
    {
      id: "1829071476450062337",
      createTime: "2024-09-25 15:37:23",
      lastUpdateTime: "2024-09-30 08:32:29",
      createdUserId: "1",
      lastUpdatedUserId: "1",
      createdUserName: null,
      lastUpdatedUserName: "管理员",
      qualityProblemId: "1840677762006462466",
      qualityProblemCode: "ISSUE202409300007",
      exceptionBusinessType: 6,
      workState: 1,
      completeTime: "2024-09-25 15:37:14",
      superintendentId: "123",
      superintendentName: "123",
      sequenceCode: 123,
      version: 1,
      remarks: null,
      enabled: 1,
      deleted: 0,
      ids: null,
      qualityExceptionCode: null,
      informationSourceId: null,
      lineProcessName: null,
      productProjectName: null,
      sortCode: null,
      productProcess: null,
      productProcessContent: null,
      failureMode: null,
      failureModeContent: null,
      occurrenceLocation: null,
      consequenceInfluence: null,
      problemFrequency: null,
      proposeDepartmentId: null,
      proposeDepartmentCode: null,
      proposeDepartmentName: null,
      proposeManagerId: null,
      proposeManagerName: null,
      departmentId: null,
      departmentCode: null,
      departmentName: null,
      departmentManagerId: null,
      departmentManagerName: null,
      isInternal: null,
      supplyId: null,
      supplyCode: null,
      supplyName: null,
      problemTime: null,
      problemUserId: null,
      problemUserName: null,
      problemTypeCode: null,
      exceptionTypeSubId: null,
      exceptionTypeSubCode: null,
      exceptionTypeSubName: null,
      exceptionLevel: null,
      exceptionLevelId: null,
      exceptionLevelCode: null,
      problemApproachType: null,
      problemApproachId: null,
      problemApproachCode: null,
      problemApproachName: null,
      releaseState: null,
      auditUserId: null,
      auditUserName: null,
      provisionalMeasuresDeadline: null,
      rectificationDeadline: null,
      rectificationRequirement: null,
      agreeWith: null,
      approvalOpinion: null,
      approvalTime: null,
      targetTime: null,
      qualityQuantity: null,
      materialProcessCode: null,
      materialProcessFigure: null,
      materialProcessName: null,
      materialProcessId: null,
      occurrenceTime: null,
      workOrderTime: null,
      closeTime: null,
      startTime: "2024-09-29",
      listWork: [
        {
          implementationProcessType: 0,
          implementationProcessSubType: 0,
          materialCode: "32mkjmkdj1232",
          totalQuantity: 220,
          exceptionQuantity: 11,
        },
        {
          implementationProcessType: 0,
          implementationProcessSubType: 1,
          materialCode: "32mkjmkdj1232",
          totalQuantity: 220,
          exceptionQuantity: 11,
        },
        {
          implementationProcessType: 0,
          implementationProcessSubType: 2,
          materialCode: "32mkjmkdj1232",
          totalQuantity: 220,
          exceptionQuantity: 11,
        },
        {
          implementationProcessType: 0,
          implementationProcessSubType: 5,
          materialCode: "32mkjmkdj1232",
          totalQuantity: 220,
          exceptionQuantity: 11,
        },
        {
          implementationProcessType: 1,
          implementationProcessSubType: 0,
          materialCode: "32mkjmkdj1232",
          totalQuantity: 220,
          exceptionQuantity: 11,
        },
        {
          implementationProcessType: 1,
          implementationProcessSubType: 1,
          materialCode: "32mkjmkdj1232",
          totalQuantity: 220,
          exceptionQuantity: 11,
        },
        {
          implementationProcessType: 1,
          implementationProcessSubType: 2,
          materialCode: "32mkjmkdj1232",
          totalQuantity: 220,
          exceptionQuantity: 11,
        },
        {
          implementationProcessType: 1,
          implementationProcessSubType: 3,
          materialCode: "32mkjmkdj1232",
          totalQuantity: 220,
          exceptionQuantity: 11,
        },
        {
          implementationProcessType: 1,
          implementationProcessSubType: 5,
          materialCode: "32mkjmkdj1232",
          totalQuantity: 220,
          exceptionQuantity: 11,
        },
        {
          implementationProcessType: 2,
          implementationProcessSubType: 0,
          materialCode: "32mkjmkdj1232",
          totalQuantity: 220,
          exceptionQuantity: 11,
        },
        {
          implementationProcessType: 2,
          implementationProcessSubType: 1,
          materialCode: "32mkjmkdj1232",
          totalQuantity: 220,
          exceptionQuantity: 11,
        },
        {
          implementationProcessType: 2,
          implementationProcessSubType: 2,
          materialCode: "32mkjmkdj1232",
          totalQuantity: 220,
          exceptionQuantity: 11,
        },
        {
          implementationProcessType: 2,
          implementationProcessSubType: 5,
          materialCode: "32mkjmkdj1232",
          totalQuantity: null,
          exceptionQuantity: 11,
        },
        {
          implementationProcessType: 3,
          implementationProcessSubType: 0,
          materialCode: "32mkjmkdj1232",
          totalQuantity: 20,
          exceptionQuantity: 11,
        },
        {
          implementationProcessType: 3,
          implementationProcessSubType: 2,
          materialCode: "32mkjmkdj1232",
          totalQuantity: 220,
          exceptionQuantity: 11,
        },
        {
          implementationProcessType: 3,
          implementationProcessSubType: 4,
          materialCode: "32mkjmkdj1232",
          totalQuantity: 210,
          exceptionQuantity: 11,
        },
        {
          implementationProcessType: 3,
          implementationProcessSubType: 5,
          materialCode: "32mkjmkdj1232",
          totalQuantity: 220,
          exceptionQuantity: 11,
        },
      ],
    },
    {
      id: "1829071476450062337",
      createTime: "2024-09-25 15:37:23",
      lastUpdateTime: "2024-09-30 08:32:29",
      createdUserId: "1",
      lastUpdatedUserId: "1",
      createdUserName: null,
      lastUpdatedUserName: "管理员",
      qualityProblemId: "1840677762006462466",
      qualityProblemCode: "ISSUE202409300007",
      exceptionBusinessType: 18,
      workState: 1,
      completeTime: "2024-09-25 15:37:14",
      superintendentId: "123",
      superintendentName: "123",
      sequenceCode: 123,
      version: 1,
      remarks: null,
      enabled: 1,
      deleted: 0,
      ids: null,
      qualityExceptionCode: null,
      informationSourceId: null,
      lineProcessName: null,
      productProjectName: null,
      sortCode: null,
      productProcess: null,
      productProcessContent: null,
      failureMode: null,
      failureModeContent: null,
      occurrenceLocation: null,
      consequenceInfluence: null,
      problemFrequency: null,
      proposeDepartmentId: null,
      proposeDepartmentCode: null,
      proposeDepartmentName: null,
      proposeManagerId: null,
      proposeManagerName: null,
      departmentId: null,
      departmentCode: null,
      departmentName: null,
      departmentManagerId: null,
      departmentManagerName: null,
      isInternal: null,
      supplyId: null,
      supplyCode: null,
      supplyName: null,
      problemTime: null,
      problemUserId: null,
      problemUserName: null,
      problemTypeCode: null,
      exceptionTypeSubId: null,
      exceptionTypeSubCode: null,
      exceptionTypeSubName: null,
      exceptionLevel: null,
      exceptionLevelId: null,
      exceptionLevelCode: null,
      problemApproachType: null,
      problemApproachId: null,
      problemApproachCode: null,
      problemApproachName: null,
      releaseState: null,
      auditUserId: null,
      auditUserName: null,
      provisionalMeasuresDeadline: null,
      rectificationDeadline: null,
      rectificationRequirement: null,
      agreeWith: null,
      approvalOpinion: null,
      approvalTime: null,
      targetTime: null,
      qualityQuantity: null,
      materialProcessCode: null,
      materialProcessFigure: null,
      materialProcessName: null,
      materialProcessId: null,
      occurrenceTime: null,
      workOrderTime: null,
      closeTime: null,
      listWork: [
        {
          id: "1840231865688166401",
          createTime: "2024-08-29 16:20:25",
          lastUpdateTime: "2024-09-30 15:04:06",
          createdUserId: "1",
          lastUpdatedUserId: "1",
          createdUserName: "管理员",
          lastUpdatedUserName: "管理员",
          qualityExceptionId: "1829071476450062337",
          qualityExceptionCode: null,
          exceptionContent:
            "ID选择器只能针对唯一的元素生效，因为一个页面里只能有唯一的ID。",
          planDate: "2024-09-29 00:00:00",
          version: 6,
          remarks: "",
          enabled: 1,
          deleted: 0,
          ids: null,
          assetPhotos: [],
          isSubmit: null,
          workOrderId: null,
          startTime: "2024-09-29",
          figureNumber: "Figure20230623",
        },
        {
          id: "1840231865688166401",
          createTime: "2024-08-29 16:20:25",
          lastUpdateTime: "2024-09-30 15:04:06",
          createdUserId: "1",
          lastUpdatedUserId: "1",
          createdUserName: "管理员",
          lastUpdatedUserName: "管理员",
          qualityExceptionId: "1829071476450062337",
          qualityExceptionCode: null,
          exceptionContent:
            "ID选择器只能针对唯一的元素生效，因为一个页面里只能有唯一的ID。",
          planDate: "2024-09-29 00:00:00",
          version: 6,
          remarks: "",
          enabled: 1,
          deleted: 0,
          ids: null,
          assetPhotos: [],
          isSubmit: null,
          workOrderId: null,
          startTime: "2024-09-29",
          figureNumber: "Figure20230624",
        },
        {
          id: "1840231865688166401",
          createTime: "2024-08-29 16:20:25",
          lastUpdateTime: "2024-09-30 15:04:06",
          createdUserId: "1",
          lastUpdatedUserId: "1",
          createdUserName: "管理员",
          lastUpdatedUserName: "管理员",
          qualityExceptionId: "1829071476450062337",
          qualityExceptionCode: null,
          exceptionContent:
            "ID选择器只能针对唯一的元素生效，因为一个页面里只能有唯一的ID。",
          planDate: "2024-09-29 00:00:00",
          version: 6,
          remarks: "",
          enabled: 1,
          deleted: 0,
          ids: null,
          assetPhotos: [],
          isSubmit: null,
          workOrderId: null,
          startTime: "2024-09-29",
          figureNumber: "Figure20230625",
        },
      ],
    },
    {
      id: "1829071476450062337",
      createTime: "2024-09-25 15:37:23",
      lastUpdateTime: "2024-09-30 08:32:29",
      createdUserId: "1",
      lastUpdatedUserId: "1",
      createdUserName: null,
      lastUpdatedUserName: "管理员",
      qualityProblemId: "1840677762006462466",
      qualityProblemCode: "ISSUE202409300007",
      exceptionBusinessType: 19,
      workState: 1,
      completeTime: "2024-09-25 15:37:14",
      superintendentId: "123",
      superintendentName: "123",
      sequenceCode: 123,
      version: 1,
      remarks: null,
      enabled: 1,
      deleted: 0,
      ids: null,
      qualityExceptionCode: null,
      informationSourceId: null,
      lineProcessName: null,
      productProjectName: null,
      sortCode: null,
      productProcess: null,
      productProcessContent: null,
      failureMode: null,
      failureModeContent: null,
      occurrenceLocation: null,
      consequenceInfluence: null,
      problemFrequency: null,
      proposeDepartmentId: null,
      proposeDepartmentCode: null,
      proposeDepartmentName: null,
      proposeManagerId: null,
      proposeManagerName: null,
      departmentId: null,
      departmentCode: null,
      departmentName: null,
      departmentManagerId: null,
      departmentManagerName: null,
      isInternal: null,
      supplyId: null,
      supplyCode: null,
      supplyName: null,
      problemTime: null,
      problemUserId: null,
      problemUserName: null,
      problemTypeCode: null,
      exceptionTypeSubId: null,
      exceptionTypeSubCode: null,
      exceptionTypeSubName: null,
      exceptionLevel: null,
      exceptionLevelId: null,
      exceptionLevelCode: null,
      problemApproachType: null,
      problemApproachId: null,
      problemApproachCode: null,
      problemApproachName: null,
      releaseState: null,
      auditUserId: null,
      auditUserName: null,
      provisionalMeasuresDeadline: null,
      rectificationDeadline: null,
      rectificationRequirement: null,
      agreeWith: null,
      approvalOpinion: null,
      approvalTime: null,
      targetTime: null,
      qualityQuantity: null,
      materialProcessCode: null,
      materialProcessFigure: null,
      materialProcessName: null,
      materialProcessId: null,
      occurrenceTime: null,
      workOrderTime: null,
      closeTime: null,
      listWork: [
        {
          id: "1840231865688166401",
          createTime: "2024-08-29 16:20:25",
          lastUpdateTime: "2024-09-30 15:04:06",
          createdUserId: "1",
          lastUpdatedUserId: "1",
          createdUserName: "管理员",
          lastUpdatedUserName: "管理员",
          qualityExceptionId: "1829071476450062337",
          qualityExceptionCode: null,
          exceptionContent: "2024-08-29 16:20:25 评价完成评价完成评价完成。",
          planDate: "2024-09-29 00:00:00",
          version: 6,
          remarks: "",
          enabled: 1,
          deleted: 0,
          ids: null,
          assetPhotos: [],
          isSubmit: null,
          workOrderId: null,
          startTime: "2024-09-29",
          table: [
            {
              problemSummary: 0,
              subProblemSummary: "问题描述完整",
              ownPoint: 0,
              fullPoint: 5,
            },
            {
              problemSummary: 0,
              subProblemSummary: "问题范围确定完整",
              ownPoint: 0,
              fullPoint: 5,
            },
            {
              problemSummary: 1,
              subProblemSummary: "24小时内完成遏制措施",
              ownPoint: 0,
              fullPoint: 5,
            },
            {
              problemSummary: 1,
              subProblemSummary: "遏制措施制定完成",
              ownPoint: 0,
              fullPoint: 5,
            },
            {
              problemSummary: 1,
              subProblemSummary: "遏制措施验证有效",
              ownPoint: 0,
              fullPoint: 5,
            },
            {
              problemSummary: 1,
              subProblemSummary: "遏制措施已经在各处实施",
              ownPoint: 0,
              fullPoint: 5,
            },
            {
              problemSummary: 2,
              subProblemSummary: "48小时内完成短期措施",
              ownPoint: 0,
              fullPoint: 5,
            },
            {
              problemSummary: 2,
              subProblemSummary: "短期措施制定完成",
              ownPoint: 0,
              fullPoint: 5,
            },
            {
              problemSummary: 2,
              subProblemSummary: "短期措施验证有效",
              ownPoint: 0,
              fullPoint: 5,
            },
            {
              problemSummary: 2,
              subProblemSummary: "短期措施已经在各处实施",
              ownPoint: 0,
              fullPoint: 5,
            },

            {
              problemSummary: 3,
              subProblemSummary: "10日内提交长期措施",
              ownPoint: 0,
              fullPoint: 5,
            },
            {
              problemSummary: 3,
              subProblemSummary: "确定发生的根本原",
              ownPoint: 0,
              fullPoint: 5,
            },
            {
              problemSummary: 3,
              subProblemSummary: "确定流出的根本原因",
              ownPoint: 0,
              fullPoint: 5,
            },
            {
              problemSummary: 3,
              subProblemSummary: "针对发生的措施已经实施并验证",
              ownPoint: 0,
              fullPoint: 5,
            },
            {
              problemSummary: 3,
              subProblemSummary: "针对流出的措施已经实施并验证",
              ownPoint: 2,
              fullPoint: 5,
            },

            {
              problemSummary: 4,
              subProblemSummary: "更新了控制文件（流程图、FMEA、控制计划）",
              ownPoint: 3,
              fullPoint: 5,
            },
            {
              problemSummary: 4,
              subProblemSummary: "更新了程序文件，流程，操作指导书等",
              ownPoint: 1,
              fullPoint: 5,
            },
            {
              problemSummary: 4,
              subProblemSummary: "相似产品已经实施改进措施",
              ownPoint: 0,
              fullPoint: 5,
            },
          ],
        },
      ],
    },
    {
      id: "1829071476450062337",
      createTime: "2024-09-25 15:37:23",
      lastUpdateTime: "2024-09-30 08:32:29",
      createdUserId: "1",
      lastUpdatedUserId: "1",
      createdUserName: null,
      lastUpdatedUserName: "管理员",
      qualityProblemId: "1840677762006462466",
      qualityProblemCode: "ISSUE202409300007",
      exceptionBusinessType: 23,
      workState: 1,
      completeTime: "2024-09-25 15:37:14",
      superintendentId: "123",
      superintendentName: "123",
      sequenceCode: 123,
      version: 1,
      remarks: null,
      enabled: 1,
      deleted: 0,
      ids: null,
      qualityExceptionCode: null,
      informationSourceId: null,
      lineProcessName: null,
      productProjectName: null,
      sortCode: null,
      productProcess: null,
      productProcessContent: null,
      failureMode: null,
      failureModeContent: null,
      occurrenceLocation: null,
      consequenceInfluence: null,
      problemFrequency: null,
      proposeDepartmentId: null,
      proposeDepartmentCode: null,
      proposeDepartmentName: null,
      proposeManagerId: null,
      proposeManagerName: null,
      departmentId: null,
      departmentCode: null,
      departmentName: null,
      departmentManagerId: null,
      departmentManagerName: null,
      isInternal: null,
      supplyId: null,
      supplyCode: null,
      supplyName: null,
      problemTime: null,
      problemUserId: null,
      problemUserName: null,
      problemTypeCode: null,
      exceptionTypeSubId: null,
      exceptionTypeSubCode: null,
      exceptionTypeSubName: null,
      exceptionLevel: null,
      exceptionLevelId: null,
      exceptionLevelCode: null,
      problemApproachType: null,
      problemApproachId: null,
      problemApproachCode: null,
      problemApproachName: null,
      releaseState: null,
      auditUserId: null,
      auditUserName: null,
      provisionalMeasuresDeadline: null,
      rectificationDeadline: null,
      rectificationRequirement: null,
      agreeWith: null,
      approvalOpinion: null,
      approvalTime: null,
      targetTime: null,
      qualityQuantity: null,
      materialProcessCode: null,
      materialProcessFigure: null,
      materialProcessName: null,
      materialProcessId: null,
      occurrenceTime: null,
      workOrderTime: null,
      closeTime: null,
      listWork: [
        {
          id: "1840231865688166401",
          createTime: "2024-08-29 16:20:25",
          lastUpdateTime: "2024-09-30 15:04:06",
          createdUserId: "1",
          lastUpdatedUserId: "1",
          createdUserName: "管理员",
          lastUpdatedUserName: "管理员",
          qualityExceptionId: "1829071476450062337",
          qualityExceptionCode: null,
          exceptionContent:
            "ECharts: A Declarative Framework for Rapid Construction of Web-based Visualization",
          planDate: "2024-09-29 00:00:00",
          version: 6,
          remarks: "",
          enabled: 1,
          deleted: 0,
          ids: null,
          assetPhotos: [],
          isSubmit: null,
          workOrderId: null,
          exceptionContentN1:
            "exceptionContentN1exceptionContentN1exceptionContentN1",
          exceptionContentN3:
            "exceptionContentN3exceptionContentN3exceptionContentN3",
          n2: {
            exceptionContent:
              "exceptionContentexceptionContentexceptionContent",
            planDate: "2024-09-29 00:00:00",
          },
          n0: {
            proposeManagerName: "王大壮",
            approvalTime: "2024-09-29 00:00:00",
            exceptionContent:
              "exceptionContentexceptionContentexceptionContent",
            planDate: "2024-09-29 00:00:00",
          },
        },
      ],
    },
  ],
  q8dExceptionAssignDTO: null,
};

// 问题描述相关数据
export const q8dd2Object = [
  {
    title: "what: 什么零件号的什么特性失效了",
    keyWord: "exceptionWhat",
  },
  {
    title: "why: 失效导致了什么后果",
    keyWord: "exceptionWhy",
  },
  {
    title: "when: 问题在客户发生的时间",
    keyWord: "exceptionWhen",
  },
  {
    title: "where: 在客户处的哪个过程发现的失效",
    keyWord: "exceptionWhere",
  },
  {
    title: "who: 在客户处的发现者是谁（岗位）",
    keyWord: "exceptionWho",
  },
  {
    title: "how: 如何发现的失效（客户的检测方法）",
    keyWord: "exceptionHow",
  },
  {
    title: "how much: 多少个（追溯信息是什么）",
    keyWord: "exceptionHowMuch",
  },
];

// 计算不良率：问题件数量 / 总数量
export function calculateDefectRate(item: any) {
  if (item.totalQuantity > 0) {
    return ((item.exceptionQuantity / item.totalQuantity) * 100).toFixed(2); // 保留两位小数
  }
  return 0; // 当总数量为0时，不良率为0%
}

// 是否是第一个td
export function isFirstInGroup(index: number, table: any) {
  return (
    index === 0 ||
    table[index].implementationProcessType !==
      table[index - 1].implementationProcessType
  );
}

// 合并单元格方法
export function getRowspan(index: number, table: any) {
  let count = 1;
  const currentType = table[index].implementationProcessType;
  while (
    index + count < table.length &&
    table[index + count].implementationProcessType === currentType
  ) {
    count++;
  }
  return count;
}

// 是否是第一个td D8
export function isFirstInGroupD8(index: number, table: any) {
  return (
    index === 0 ||
    table[index].problemSummary !== table[index - 1].problemSummary
  );
}

// 合并单元格方法 D8
export function getRowspanD8(index: number, table: any) {
  let count = 1;
  const currentType = table[index].problemSummary;
  while (
    index + count < table.length &&
    table[index + count].problemSummary === currentType
  ) {
    count++;
  }
  return count;
}

//计算得分总数 D8
export function getGrossScoreD8(arr: any) {
  let sum = 0;
  arr?.forEach((item: any) => {
    if (Number(item.ownPoint)) {
      sum += Number(item.ownPoint);
    }
  });
  return sum;
}

// type 1 内容中只有总结   2 原因分析   3负责人、完成时间、总结、验证结果   4负责人、完成时间、总结、验证结果 5 时间
export const ExceptionBusiness = [
  {
    id: 0,
    type: null,
    code: "ADJ",
    description: "异常信息",
  },
  {
    id: 1,
    type: null,
    code: "ISSUE",
    description: "问题澄清",
  },
  {
    id: 2,
    type: null,
    code: "D1",
    description: "成立团队",
  },
  {
    id: 3,
    type: null,
    code: "D2",
    description: "问题描述",
  },
  {
    id: 4,
    type: 5,
    code: "D3A_1",
    description: "遏制/围堵措施:遏制措施的执行时间",
  },
  {
    id: 5,
    type: 1,
    code: "D3A_2",
    description: "遏制措施的方案和验证过程",
  },
  {
    id: 6,
    type: null,
    code: "D3A_3",
    description: "遏制措施的实施过程",
  },
  {
    id: 7,
    type: 5,
    code: "D3B_1",
    description: "短期措施实施前的生产控制措，施执行时间",
  },
  {
    id: 8,
    type: 1,
    code: "D3B_2",
    description: "异常信息",
  },
  {
    id: 9,
    type: 1,
    code: "D3B_3",
    description: "异常信息",
  },
  {
    id: 10,
    type: 2,
    code: "D4_1",
    description: "异常信息",
  },
  {
    id: 11,
    type: 2,
    code: "D4_2",
    description: "异常信息",
  },
  {
    id: 12,
    type: 3,
    code: "D5_1",
    description: "异常信息",
  },
  {
    id: 13,
    type: 3,
    code: "D5_2",
    description: "异常信息",
  },
  {
    id: 14,
    type: 4,
    code: "D6_1",
    description: "异常信息",
  },
  {
    id: 15,
    type: 4,
    code: "D6_2",
    description: "异常信息",
  },
  {
    id: 16,
    type: 1,
    code: "D7_1",
    description: "异常信息",
  },
  {
    id: 17,
    type: 1,
    code: "D7_2",
    description: "异常信息",
  },
  {
    id: 18,
    type: null,
    code: "D7_3",
    description: "异常信息",
  },
  {
    id: 19,
    type: null,
    code: "D8",
    description: "异常信息",
  },
  {
    id: 20,
    type: 1,
    code: "N1",
    description: "异常信息",
  },
  {
    id: 21,
    type: 1,
    code: "N2",
    description: "异常信息",
  },
  {
    id: 22,
    type: 1,
    code: "N3",
    description: "异常信息",
  },
  {
    id: 23,
    type: null,
    code: "N4",
    description: "异常信息",
  },
];

export function templateType(id: number) {
  return ExceptionBusiness[id].type;
}
